[INFO] fetching crate coloriz 0.2.0...
[INFO] testing coloriz-0.2.0 against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] extracting crate coloriz 0.2.0 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate coloriz 0.2.0
[INFO] finished tweaking crates.io crate coloriz 0.2.0
[INFO] tweaked toml for crates.io crate coloriz 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate coloriz 0.2.0 on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate coloriz 0.2.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 578f879e709c2ad47cf267fd4165a1c3757191a66b603f28a7c206a8fb227fe2
[INFO] running `Command { std: "docker" "start" "578f879e709c2ad47cf267fd4165a1c3757191a66b603f28a7c206a8fb227fe2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "578f879e709c2ad47cf267fd4165a1c3757191a66b603f28a7c206a8fb227fe2" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "578f879e709c2ad47cf267fd4165a1c3757191a66b603f28a7c206a8fb227fe2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "578f879e709c2ad47cf267fd4165a1c3757191a66b603f28a7c206a8fb227fe2" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling coloriz v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.68s
[INFO] running `Command { std: "docker" "inspect" "578f879e709c2ad47cf267fd4165a1c3757191a66b603f28a7c206a8fb227fe2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "578f879e709c2ad47cf267fd4165a1c3757191a66b603f28a7c206a8fb227fe2" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling coloriz v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s
[INFO] running `Command { std: "docker" "inspect" "578f879e709c2ad47cf267fd4165a1c3757191a66b603f28a7c206a8fb227fe2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "578f879e709c2ad47cf267fd4165a1c3757191a66b603f28a7c206a8fb227fe2" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/coloriz-a019031fb87a4a17)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests coloriz
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - ColorApply::to (line 182) ... FAILED
[INFO] [stdout] test src/lib.rs - ColorApply::under (line 196) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - ColorApply::to (line 182) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]    --> src/lib.rs:183:11
[INFO] [stdout]     |
[INFO] [stdout] 183 | let red = Color::Red.to("lorem ipsum");
[INFO] [stdout]     |           ^^^^^ use of undeclared type `Color`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 182 + use coloriz::Color;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]    --> src/lib.rs:184:34
[INFO] [stdout]     |
[INFO] [stdout] 184 | assert_eq!(red, "lorem ipsum".fg(Color::Red));
[INFO] [stdout]     |                                  ^^^^^ use of undeclared type `Color`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 182 + use coloriz::Color;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/lib.rs:184:31
[INFO] [stdout]     |
[INFO] [stdout] 184 | assert_eq!(red, "lorem ipsum".fg(Color::Red));
[INFO] [stdout]     |                               ^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/colorize.rs:6:8
[INFO] [stdout]     |
[INFO] [stdout]   6 |     fn fg<C: Into<ColorStyle>>(&self, color: C) -> StyledText;
[INFO] [stdout]     |        -- the method is available for `&'static str` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Colorize` which provides `fg` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 182 + use coloriz::Colorize;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `bg` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 184 - assert_eq!(red, "lorem ipsum".fg(Color::Red));
[INFO] [stdout] 184 + assert_eq!(red, "lorem ipsum".bg(Color::Red));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - ColorApply::under (line 196) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]    --> src/lib.rs:197:13
[INFO] [stdout]     |
[INFO] [stdout] 197 | let green = Color::Green.under("lorem ipsum");
[INFO] [stdout]     |             ^^^^^ use of undeclared type `Color`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 196 + use coloriz::Color;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Color` in this scope
[INFO] [stdout]    --> src/lib.rs:198:36
[INFO] [stdout]     |
[INFO] [stdout] 198 | assert_eq!(green, "lorem ipsum".bg(Color::Green));
[INFO] [stdout]     |                                    ^^^^^ use of undeclared type `Color`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 196 + use coloriz::Color;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `bg` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/lib.rs:198:33
[INFO] [stdout]     |
[INFO] [stdout] 198 | assert_eq!(green, "lorem ipsum".bg(Color::Green));
[INFO] [stdout]     |                                 ^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/colorize.rs:8:8
[INFO] [stdout]     |
[INFO] [stdout]   8 |     fn bg<C: Into<ColorStyle>>(&self, color: C) -> StyledText;
[INFO] [stdout]     |        -- the method is available for `&'static str` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Colorize` which provides `bg` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 196 + use coloriz::Colorize;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `fg` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 198 - assert_eq!(green, "lorem ipsum".bg(Color::Green));
[INFO] [stdout] 198 + assert_eq!(green, "lorem ipsum".fg(Color::Green));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - ColorApply::to (line 182)
[INFO] [stdout]     src/lib.rs - ColorApply::under (line 196)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "578f879e709c2ad47cf267fd4165a1c3757191a66b603f28a7c206a8fb227fe2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "578f879e709c2ad47cf267fd4165a1c3757191a66b603f28a7c206a8fb227fe2", kill_on_drop: false }`
[INFO] [stdout] 578f879e709c2ad47cf267fd4165a1c3757191a66b603f28a7c206a8fb227fe2
